package be.bonamis.umpire.ui.client.mvp;

import java.util.Date;
import java.util.List;
import java.util.Set;

import be.bonamis.projects.umpire.business.dto.LeagueDayDTO;
import be.bonamis.projects.umpire.business.dto.UmpireDTO;

import com.google.gwt.user.client.ui.IsWidget;

public interface DispoView extends IsWidget {
	interface Presenter {
		void findLeagueDays(long id, int month, int year);
		void findUmpiresByLeagueDay(long id);
		void exportToXls(long id);
		
		void homeButtonClicked();		
		void dispoButtonClicked();				
		void whoButtonClicked();
		void quizButtonClicked();
		void historyButtonClicked();
	}
	
	void setPresenter(Presenter presenter);
	
	Presenter getPresenter();

	void setValues(UmpireDTO umpire, Set<Date> months);

	void setLeagueDays(List<LeagueDayDTO> leagueDayDtoList);

	void setUmpiresByLD(List<UmpireDTO> umpiresDTOList);

	UmpireDTO getUmpire();

}
